package com.moma.chatting.dao;

import java.util.List;

public interface ChattingHistoryItemDaoMapper {
	ChattingHistoryItem selectById(int id);
	List<ChattingHistoryItem> selectByConversationId(int conversationId);
	List<ChattingHistoryItem> selectBySender(String senderUniqueName);
	void insert(ChattingHistoryItem item);
	void insertBatch(List<ChattingHistoryItem> items);
	void delete(int id);
	void deleteByConversationId(int conversationId);
	void deleteBySender(String senderUniqueName);
}
